package com.keba.lamp.complaint.service;

import com.keba.basic.base.service.SuperService;
import com.keba.lamp.complaint.entity.Plaintff;
import com.keba.lamp.complaint.vo.result.PlaintffResultVO;
import com.keba.lamp.complaint.vo.save.PlaintffSaveVO;
import com.keba.lamp.complaint.vo.update.PlaintffSummarizeUpdateVO;
import com.keba.lamp.complaint.vo.update.PlaintffUpdateVO;

import java.util.List;


/**
 * <p>
 * 业务接口
 * 原告信息
 * </p>
 *
 * @author chaowu.wang
 * @date 2025-03-14 23:03:53
 * @create [2025-03-14 23:03:53] [chaowu.wang] [代码生成器生成]
 */
public interface PlaintffService extends SuperService<Long, Plaintff> {

    void save(List<PlaintffSaveVO> plaintffList, Long caseId);

    void update(List<PlaintffUpdateVO> plaintffList, Long caseId);

    List<Plaintff> findByCaseId(Long caseId);

    List<PlaintffResultVO> getResultByCaseId(Long caseId);
    /**
     * 删除
     *
     * @param ids id
     * @return 是否成功
     */
    Boolean delete(List<Long> ids);

    Boolean deleteByCaseIds(List<Long> caseIds);

    boolean updateSummarizeInfo(PlaintffSummarizeUpdateVO plaintffSummarizeUpdateVO);
}


